import Vue from "vue";
import Vuex from "vuex";

import { state, actions, mutations } from "@/reducers";

Vue.use(Vuex);

// 创建vuex对象
const store = new Vuex.Store({
  state,
  mutations,
  actions
});

export default store;
